<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
	<head>
		<title>Setear Stock</title>
		<link rel="stylesheet" href="<c:url value="resources/css/default.css"/>"></link>
	</head>
	<body>
		
		<br/>
		<form:form action="setearStock" modelAttribute="Ingrediente" role="form" method="post">
				<div id="ListarIngredientes4">
				    Stock Disponible
				    <br/>
				    <br/>
					<table border="1">	
						<tr>
							<td>							
								<form:select path="nombre">
					              <form:options items="${ingredientes}" itemValue="nombre" itemLabel="nombre" />
					              <!--form:hidden path="precio" value="${precio}"/-->
					            </form:select>
							    
							</td>
							<td>
								<!--form:input type="text" name="stock" id="stock" path="stock"/-->
								<input type="text" name="stock" id="stock"/>
							</td>
							<td>
								<input type="submit"  value="Agregar a stock"/>
							</td>
						</tr>
					</table>
					<div class="volver4">
					     <a href="/sangucheto">&#60;&#60;&#60; volver</a>                   
					</div>		
				</div>		
		</form:form>
	</body>
</html>